abc = 123

def hello():
    global abc
    abc = 999

hello()
print(abc)